package com.pig4cloud.pig.module.api.entity.mer;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 商家打印机和商品分类的关联对象 mer_printer_relation
 *
 * @author ruoyi
 * @date 2023-07-17
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("mer_printer_relation")
public class MerPrinterRelation implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 商家id
     */
    private Long merId;

    /**
     * 绑定的打印机id
     */
    private Long printerId;

    /**
     * 主分类id
     */
    private Long cateId;

    /**
     * 子分类did
     */
    private Long cateChildId;

    /**
     * 菜品类型
     */
    private Long dishType;

    @TableField(exist = false)
    private String merName;
    @TableField(exist = false)
    private String printerName;
    @TableField(exist = false)
    private String cateName;
    @TableField(exist = false)
    private String cateChildName;
    @TableField(exist = false)
    private String dishTypeName;

}
